package com.itheima.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 包名:com.itheima.controller
 * 作者:Leevi
 * 日期2020-02-19  09:14
 * 统一的异常处理
 *
 */
@Controller
@RequestMapping("hello")
public class HelloController {
    @RequestMapping("sayHello")
    public String sayHello(){
        System.out.println("请求到达了HelloController...");
        return "success";//请求转发跳转的
    }
}
